<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class BuyMethod extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'buy_methods';
    
    public function scopeShow($query){
        return $query->where('state',1);
    }
}
